for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
import { ClassHash } from "../../src/defs";
const source = {a: "a", b: undefined}
, called = k.call(source)
//... @ts-expect-error
, key: typeof called[number] = "z"
export {key}
function k<K extends string, T extends Record<K, ClassHash>>(
this: T
// or `K` - whatever
): (keyof T)[] {
//@ts-expect-error
return Object.keys(this)
}